#include <stdio.h>
int main(){
 char c;
 c=getchar();
 while(c!='\n')
{
    if((c>='a'&&c<='z')||(c>='A'&&c<='Z'))
        {
        if((c>='v'&&c<='z')||(c>='V'&&c<='Z'))
        c=c+21;
        else
        c=c-5;
        }
    printf("%c",c);
    c=getchar();
}
printf("\n");
  /* write your code */
  //int a, b;
 // scanf( "%d %d", &a, &b );
 // printf( "%d", a + b );
  return(0);
}
